close all;
clear; clc;
T=imread('text.png');
a=T(32:45,88:98);
figure,imshow(T);
figure,imshow(a,'InitialMagnification','fit');

B=ifft2( fft2(double(T)) .* fft2(rot90(a,2),256,256) );
thresh=60;
figure,imshow(B>thresh);
